/**
 * Created by zongjuan.wang on 2016/6/22.
 */

$(document).ready(function(){
    $("#nav li").mouseover(function () {
        $(this).children("span").css("background-color","#c81623");
        $(this).children("p").show();
    });
    $("#nav li").mouseout(function () {
        $(this).children("span").css("background-color","#7a6e6e");
        $(this).children("p").hide();
    });
})